package cn.kgc.constant;

/**
 * <p>订单常量</p>
 *
 * @author 卢传琪
 */
public class OrderConstant {
    public static final String ORDER_TOKEN_PREFIX = "oms:orderToken:";//订单令牌前缀
    public static final int ORDER_TOKEN_TIME = 10;//订单幂等性存活的时间
    public static final String ORDER_EXCHANGE = "order.exchange";//订单交换机
    public static final String CREATE_ORDER_ROUTING_KEY = "order.create.order";//创建订单以后，将订单信息发送到交换机的routingKey

    public static final String ORDER_RELEASE_QUEUE = "order.release.queue";//订单释放队列 用于延时队列
}
